<?php
/**
 * Smart Library - Smart Framework
 * http://smart-framework.highet.eu
 *
 * @category   SmartL
 * @package    SmartL_Zend
 * @subpackage Validate
 * @copyright  Copyright (c) 2005-2008 Smart Framework team - Stepan Sindelar, Vojtech Vit
 * @license    http://www.opensource.org/licenses/bsd-license.php	New BSD License
 */

/**
 * Every class implementing this interface should have "array $config=array()" as first parameter in constructor.
 *
 * @package SmartL_Zend
 * @subpackage Validate
 */
interface SmartL_Zend_Validate_Unique_DataAdapter_Interface {
	/**
	 * Returns if the value is unique in the implemented data store.
	 *
	 * @param string $value
	 * @return boolean
	 */
	public function isUnique($value);
}